package com.spark.shiro.entity;

/**
 * Created by tyd on 2017-10-28.
 */
public class User {

    private Integer id;

    private String userName;

    private String password;

    private Integer roleId;

    private String roleName;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public Integer getRoleId() {
        return roleId;
    }

    public void setRoleId(Integer roleId) {
        this.roleId = roleId;
    }

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }

    public User(Integer roleId, String roleName) {
        this.roleId = roleId;
        this.roleName = roleName;
    }

    public User() {
    }
}
